//Original:/testcases/core/c_comp3op_dr_plus_dr/c_comp3op_dr_plus_dr.dsp
// Spec Reference: comp3op dregs + dregs
# mach: bfin

.include "testutils.inc"
	start




imm32 r0, 0x01234567;
imm32 r1, 0x89abcdef;
imm32 r2, 0x56789abc;
imm32 r3, 0xdef01234;
imm32 r4, 0x23456899;
imm32 r5, 0x78912345;
imm32 r6, 0x98765432;
imm32 r7, 0x12345678;
R0 = R0 + R0;
R1 = R0 + R1;
R2 = R0 + R2;
R3 = R0 + R3;
R4 = R0 + R4;
R5 = R0 + R5;
R6 = R0 + R6;
R7 = R0 + R7;
CHECKREG r0, 0x02468ACE;
CHECKREG r1, 0x8BF258BD;
CHECKREG r2, 0x58BF258A;
CHECKREG r3, 0xE1369D02;
CHECKREG r4, 0x258BF367;
CHECKREG r5, 0x7AD7AE13;
CHECKREG r6, 0x9ABCDF00;
CHECKREG r7, 0x147AE146;

imm32 r0, 0x01231567;
imm32 r1, 0x89ab1def;
imm32 r2, 0x56781abc;
imm32 r3, 0xdef01234;
imm32 r4, 0x23451899;
imm32 r5, 0x78911345;
imm32 r6, 0x98761432;
imm32 r7, 0x12341678;
R0 = R1 + R0;
R1 = R1 + R1;
R2 = R1 + R2;
R3 = R1 + R3;
R4 = R1 + R4;
R5 = R1 + R5;
R6 = R1 + R6;
R7 = R1 + R7;
CHECKREG r0, 0x8ACE3356;
CHECKREG r1, 0x13563BDE;
CHECKREG r2, 0x69CE569A;
CHECKREG r3, 0xF2464E12;
CHECKREG r4, 0x369B5477;
CHECKREG r5, 0x8BE74F23;
CHECKREG r6, 0xABCC5010;
CHECKREG r7, 0x258A5256;

imm32 r0, 0x01234527;
imm32 r1, 0x89abcd2f;
imm32 r2, 0x56789a2c;
imm32 r3, 0xdef01224;
imm32 r4, 0x23456829;
imm32 r5, 0x78912325;
imm32 r6, 0x98765422;
imm32 r7, 0x12345628;
R0 = R2 + R0;
R1 = R2 + R1;
R2 = R2 + R2;
R3 = R2 + R3;
R4 = R2 + R4;
R5 = R2 + R5;
R6 = R2 + R6;
R7 = R2 + R7;
CHECKREG r0, 0x579BDF53;
CHECKREG r1, 0xE024675B;
CHECKREG r2, 0xACF13458;
CHECKREG r3, 0x8BE1467C;
CHECKREG r4, 0xD0369C81;
CHECKREG r5, 0x2582577D;
CHECKREG r6, 0x4567887A;
CHECKREG r7, 0xBF258A80;

imm32 r0, 0x01234563;
imm32 r1, 0x89abcde3;
imm32 r2, 0x56789ab3;
imm32 r3, 0xdef01233;
imm32 r4, 0x23456893;
imm32 r5, 0x78912343;
imm32 r6, 0x98765433;
imm32 r7, 0x12345673;
R0 = R3 + R0;
R1 = R3 + R1;
R2 = R3 + R2;
R3 = R3 + R3;
R4 = R3 + R4;
R5 = R3 + R5;
R6 = R3 + R6;
R7 = R3 + R7;
CHECKREG r0, 0xE0135796;
CHECKREG r1, 0x689BE016;
CHECKREG r2, 0x3568ACE6;
CHECKREG r3, 0xBDE02466;
CHECKREG r4, 0xE1258CF9;
CHECKREG r5, 0x367147A9;
CHECKREG r6, 0x56567899;
CHECKREG r7, 0xD0147AD9;

imm32 r0, 0x41234567;
imm32 r1, 0x49abcdef;
imm32 r2, 0x46789abc;
imm32 r3, 0x4ef01234;
imm32 r4, 0x43456899;
imm32 r5, 0x48912345;
imm32 r6, 0x48765432;
imm32 r7, 0x42345678;
R0 = R4 + R0;
R1 = R4 + R1;
R2 = R4 + R2;
R3 = R4 + R3;
R4 = R4 + R4;
R5 = R4 + R5;
R6 = R4 + R6;
R7 = R4 + R7;
CHECKREG r0, 0x8468AE00;
CHECKREG r1, 0x8CF13688;
CHECKREG r2, 0x89BE0355;
CHECKREG r3, 0x92357ACD;
CHECKREG r4, 0x868AD132;
CHECKREG r5, 0xCF1BF477;
CHECKREG r6, 0xCF012564;
CHECKREG r7, 0xC8BF27AA;

imm32 r0, 0x05234567;
imm32 r1, 0x85abcdef;
imm32 r2, 0x55789abc;
imm32 r3, 0xd5f01234;
imm32 r4, 0x25456899;
imm32 r5, 0x75912345;
imm32 r6, 0x95765432;
imm32 r7, 0x15345678;
R0 = R5 + R0;
R1 = R5 + R1;
R2 = R5 + R2;
R3 = R5 + R3;
R4 = R5 + R4;
R5 = R5 + R5;
R6 = R5 + R6;
R7 = R5 + R7;
CHECKREG r0, 0x7AB468AC;
CHECKREG r1, 0xFB3CF134;
CHECKREG r2, 0xCB09BE01;
CHECKREG r3, 0x4B813579;
CHECKREG r4, 0x9AD68BDE;
CHECKREG r5, 0xEB22468A;
CHECKREG r6, 0x80989ABC;
CHECKREG r7, 0x00569D02;

imm32 r0, 0x01264567;
imm32 r1, 0x89a6cdef;
imm32 r2, 0x56769abc;
imm32 r3, 0xdef61234;
imm32 r4, 0x23466899;
imm32 r5, 0x78962345;
imm32 r6, 0x98765432;
imm32 r7, 0x12365678;
R0 = R6 + R0;
R1 = R6 + R1;
R2 = R6 + R2;
R3 = R6 + R3;
R4 = R6 + R4;
R5 = R6 + R5;
R6 = R6 + R6;
R7 = R6 + R7;
CHECKREG r0, 0x999C9999;
CHECKREG r1, 0x221D2221;
CHECKREG r2, 0xEEECEEEE;
CHECKREG r3, 0x776C6666;
CHECKREG r4, 0xBBBCBCCB;
CHECKREG r5, 0x110C7777;
CHECKREG r6, 0x30ECA864;
CHECKREG r7, 0x4322FEDC;

imm32 r0, 0x01237567;
imm32 r1, 0x89ab7def;
imm32 r2, 0x56787abc;
imm32 r3, 0xdef07234;
imm32 r4, 0x23457899;
imm32 r5, 0x78917345;
imm32 r6, 0x98767432;
imm32 r7, 0x12345678;
R0 = R7 + R0;
R1 = R7 + R1;
R2 = R7 + R2;
R3 = R7 + R3;
R4 = R7 + R4;
R5 = R7 + R5;
R6 = R7 + R6;
R7 = R7 + R7;
CHECKREG r0, 0x1357CBDF;
CHECKREG r1, 0x9BDFD467;
CHECKREG r2, 0x68ACD134;
CHECKREG r3, 0xF124C8AC;
CHECKREG r4, 0x3579CF11;
CHECKREG r5, 0x8AC5C9BD;
CHECKREG r6, 0xAAAACAAA;
CHECKREG r7, 0x2468ACF0;

imm32 r0, 0x11234567;
imm32 r1, 0x81abcdef;
imm32 r2, 0x56189abc;
imm32 r3, 0xdef11234;
imm32 r4, 0x23451899;
imm32 r5, 0x78912145;
imm32 r6, 0x98765412;
imm32 r7, 0x12345671;
R0 = R1 + R0;
R1 = R2 + R0;
R2 = R3 + R0;
R3 = R4 + R0;
R4 = R5 + R0;
R5 = R6 + R0;
R6 = R7 + R0;
R7 = R0 + R0;
CHECKREG r0, 0x92CF1356;
CHECKREG r1, 0xE8E7AE12;
CHECKREG r2, 0x71C0258A;
CHECKREG r3, 0xB6142BEF;
CHECKREG r4, 0x0B60349B;
CHECKREG r5, 0x2B456768;
CHECKREG r6, 0xA50369C7;
CHECKREG r7, 0x259E26AC;

imm32 r0, 0x01231567;
imm32 r1, 0x29ab1def;
imm32 r2, 0x52781abc;
imm32 r3, 0xde201234;
imm32 r4, 0x23421899;
imm32 r5, 0x78912345;
imm32 r6, 0x98761232;
imm32 r7, 0x12341628;
R0 = R2 + R1;
R1 = R3 + R1;
R2 = R4 + R1;
R3 = R5 + R1;
R4 = R6 + R1;
R5 = R7 + R1;
R6 = R0 + R1;
R7 = R1 + R1;
CHECKREG r0, 0x7C2338AB;
CHECKREG r1, 0x07CB3023;
CHECKREG r2, 0x2B0D48BC;
CHECKREG r3, 0x805C5368;
CHECKREG r4, 0xA0414255;
CHECKREG r5, 0x19FF464B;
CHECKREG r6, 0x83EE68CE;
CHECKREG r7, 0x0F966046;

imm32 r0, 0x03234527;
imm32 r1, 0x893bcd2f;
imm32 r2, 0x56739a2c;
imm32 r3, 0x3ef03224;
imm32 r4, 0x23456329;
imm32 r5, 0x78312335;
imm32 r6, 0x98735423;
imm32 r7, 0x12343628;
R0 = R3 + R2;
R1 = R4 + R2;
R2 = R5 + R2;
R3 = R6 + R2;
R4 = R7 + R2;
R5 = R0 + R2;
R6 = R1 + R2;
R7 = R2 + R2;
CHECKREG r0, 0x9563CC50;
CHECKREG r1, 0x79B8FD55;
CHECKREG r2, 0xCEA4BD61;
CHECKREG r3, 0x67181184;
CHECKREG r4, 0xE0D8F389;
CHECKREG r5, 0x640889B1;
CHECKREG r6, 0x485DBAB6;
CHECKREG r7, 0x9D497AC2;

imm32 r0, 0x04234563;
imm32 r1, 0x894bcde3;
imm32 r2, 0x56749ab3;
imm32 r3, 0x4ef04233;
imm32 r4, 0x24456493;
imm32 r5, 0x78412344;
imm32 r6, 0x98745434;
imm32 r7, 0x12344673;
R0 = R4 + R3;
R1 = R5 + R3;
R2 = R6 + R3;
R3 = R7 + R3;
R4 = R0 + R3;
R5 = R1 + R3;
R6 = R2 + R3;
R7 = R3 + R3;
CHECKREG r0, 0x7335A6C6;
CHECKREG r1, 0xC7316577;
CHECKREG r2, 0xE7649667;
CHECKREG r3, 0x612488A6;
CHECKREG r4, 0xD45A2F6C;
CHECKREG r5, 0x2855EE1D;
CHECKREG r6, 0x48891F0D;
CHECKREG r7, 0xC249114C;

imm32 r0, 0x41235567;
imm32 r1, 0x49abc5ef;
imm32 r2, 0x46789a5c;
imm32 r3, 0x4ef01235;
imm32 r4, 0x53456899;
imm32 r5, 0x45912345;
imm32 r6, 0x48565432;
imm32 r7, 0x42355678;
R0 = R5 + R4;
R1 = R6 + R4;
R2 = R7 + R4;
R3 = R0 + R4;
R4 = R1 + R4;
R5 = R2 + R4;
R6 = R3 + R4;
R7 = R4 + R4;
CHECKREG r0, 0x98D68BDE;
CHECKREG r1, 0x9B9BBCCB;
CHECKREG r2, 0x957ABF11;
CHECKREG r3, 0xEC1BF477;
CHECKREG r4, 0xEEE12564;
CHECKREG r5, 0x845BE475;
CHECKREG r6, 0xDAFD19DB;
CHECKREG r7, 0xDDC24AC8;

imm32 r0, 0x05264567;
imm32 r1, 0x85ab6def;
imm32 r2, 0x657896bc;
imm32 r3, 0xd6f01264;
imm32 r4, 0x25656896;
imm32 r5, 0x75962345;
imm32 r6, 0x95766432;
imm32 r7, 0x15345678;
R0 = R6 + R5;
R1 = R7 + R5;
R2 = R0 + R5;
R3 = R1 + R5;
R4 = R2 + R5;
R5 = R3 + R5;
R6 = R4 + R5;
R7 = R5 + R5;
CHECKREG r0, 0x0B0C8777;
CHECKREG r1, 0x8ACA79BD;
CHECKREG r2, 0x80A2AABC;
CHECKREG r3, 0x00609D02;
CHECKREG r4, 0xF638CE01;
CHECKREG r5, 0x75F6C047;
CHECKREG r6, 0x6C2F8E48;
CHECKREG r7, 0xEBED808E;

imm32 r0, 0x01764567;
imm32 r1, 0x89a7cdef;
imm32 r2, 0x56767abc;
imm32 r3, 0xdef61734;
imm32 r4, 0x73466879;
imm32 r5, 0x77962347;
imm32 r6, 0x98765432;
imm32 r7, 0x12375678;
R0 = R7 + R6;
R1 = R0 + R6;
R2 = R1 + R6;
R3 = R2 + R6;
R4 = R3 + R6;
R5 = R4 + R6;
R6 = R5 + R6;
R7 = R6 + R6;
CHECKREG r0, 0xAAADAAAA;
CHECKREG r1, 0x4323FEDC;
CHECKREG r2, 0xDB9A530E;
CHECKREG r3, 0x7410A740;
CHECKREG r4, 0x0C86FB72;
CHECKREG r5, 0xA4FD4FA4;
CHECKREG r6, 0x3D73A3D6;
CHECKREG r7, 0x7AE747AC;

imm32 r0, 0x81238567;
imm32 r1, 0x88ab78ef;
imm32 r2, 0x56887a8c;
imm32 r3, 0x8ef87238;
imm32 r4, 0x28458899;
imm32 r5, 0x78817845;
imm32 r6, 0x98787482;
imm32 r7, 0x12348678;
R0 = R1 + R7;
R1 = R2 + R7;
R2 = R3 + R7;
R3 = R4 + R7;
R4 = R5 + R7;
R5 = R6 + R7;
R6 = R7 + R7;
R7 = R0 + R7;
CHECKREG r0, 0x9ADFFF67;
CHECKREG r1, 0x68BD0104;
CHECKREG r2, 0xA12CF8B0;
CHECKREG r3, 0x3A7A0F11;
CHECKREG r4, 0x8AB5FEBD;
CHECKREG r5, 0xAAACFAFA;
CHECKREG r6, 0x24690CF0;
CHECKREG r7, 0xAD1485DF;


pass
